<%@ Control Language="c#"  %>
<%@ Register Assembly="Syrinx.Gui.AspNet.NitobiCtls" Namespace="Syrinx.Gui.AspNet.NitobiCtls" TagPrefix="nit" %>
<table>
	<tr>
		<td style="width:55%;text-align:left"><asp:Label ID="_ecomAccountSettingLbl" runat="server" Text="eCom Account Settings" CssClass="label" /></td>
		<td style="width:45%;text-align:left">
			<nit:NitobiComboBoxBizObjListDisplay id="settings_eComAccountId" runat="server" 
				DataSourceBizRule="getAccounts" TextBoxWidth="149px" ListWidth="300px" LiveScroll="False">
                <columns><Column field="id" /><Column field="name" /></columns>
            </nit:NitobiComboBoxBizObjListDisplay>
        </td>
	</tr>
	<tr>
		<td colspan="2"><asp:Label ID="_comCreateUserAccountLbl" runat="server" Text="Create a separate COA Account for each user" CssClass="label" />
			<asp:CheckBox ID="settings_postToUserEComAccount" runat="server" />
        </td>
	</tr>
	<tr>
		<td style="width:55%;text-align:left"><asp:Label ID="_comDefaultMembership" runat="server" Text="Default Product Membership" CssClass="label" /></td>
		<td style="width:45%;text-align:left">
			<asp:TextBox ID="settings_defaultUserMembershipProductPartId" runat="server" />
        </td>
	</tr>
	<tr>
		<td style="width:55%;text-align:left"><asp:Label ID="_eComMaxNumRooms" runat="server" Text="Max Sellable For Product:" CssClass="label" /></td>
		<td style="width:45%;text-align:left">
			<asp:TextBox ID="settings_eComMaxNumProducts" runat="server" Width="2em" />
        </td>
	</tr>
	<tr>
		<td style="width:55%;text-align:left"><asp:Label ID="_curLbl" runat="server" Text="Price Currency Prefix:" CssClass="label" /></td>
		<td style="width:45%;text-align:left">
			<asp:TextBox ID="settings_priceCurrencyPrefix" runat="server" />
        </td>
	</tr>
	<tr>
		<td colspan="2"><asp:Label ID="_autoUserLbl" runat="server" Text="Automatically create new user ids and email to user email" CssClass="label" />
			<asp:CheckBox ID="settings_automaticallyAssignNewUserIdPassword" runat="server" />
        </td>
	</tr>
</table>